package com.icss.service.impl;

import com.icss.dao.IllegalDao;
import com.icss.domian.QueryVO;
import com.icss.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ItemServiceImpl implements ItemService {

    @Autowired
    private IllegalDao illegalDao;


    @Override
    public List<QueryVO> findAllIllegalItem() {
        return illegalDao.findAllIllegalItem();
    }

    @Override
    public List<QueryVO> findIllegalItemById(String illegalItemCode) {
        return illegalDao.findIllegalItemById(illegalItemCode);
    }

    @Override
    public void updateIllegalItemCount(String illegalItemCode) {
        illegalDao.updateIllegalItemCount(illegalItemCode);
    }
}
